package com.geminisystems.service;

import com.geminisystems.entity.ProductGroup;
import com.geminisystems.exception.EntityException;
import java.util.List;

/**
 *
 * @author Dmitry
 */
public interface GroupService {
    
    public Long saveGroup(ProductGroup group) throws EntityException;
    public void deleteGroup(ProductGroup group) throws EntityException;
    public void deleteGroups(List<Long> ids);
    public ProductGroup getGroupById(Long id);
    public List<ProductGroup> getGroups();
    public List<ProductGroup> findGroupByName(String str);
    
}
